package com.ruoyi.camp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * banner对象 c_banner
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class CBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告id */
    private String bannerId;

    /** 广告类型 */
    @Excel(name = "广告类型")
    private String bannerType;

    /** 广告图片 */
    @Excel(name = "广告图片")
    private String imageUrl;

    /** 广告地址 */
    @Excel(name = "广告地址")
    private String linkUrl;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    public void setBannerId(String bannerId) 
    {
        this.bannerId = bannerId;
    }

    public String getBannerId() 
    {
        return bannerId;
    }
    public void setBannerType(String bannerType) 
    {
        this.bannerType = bannerType;
    }

    public String getBannerType() 
    {
        return bannerType;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("bannerType", getBannerType())
            .append("imageUrl", getImageUrl())
            .append("linkUrl", getLinkUrl())
            .append("state", getState())
            .toString();
    }
}
